$OpenBSD: patch-supervisor_skel_sample_conf,v 1.4 2017/06/07 03:49:50 benoit Exp $
--- supervisor/skel/sample.conf.orig	Fri Jun  2 06:04:35 2017
+++ supervisor/skel/sample.conf	Wed Jun  7 05:39:03 2017
@@ -13,7 +13,7 @@
 ;    "command=bash -c 'foo ; bar'" will truncate to "command=bash -c 'foo ".
 
 [unix_http_server]
-file=/tmp/supervisor.sock   ; the path to the socket file
+file=${VARBASE}/run/supervisor/supervisor.sock   ; the path to the socket file
 ;chmod=0700                 ; socket file mode (default 0700)
 ;chown=nobody:nogroup       ; socket file uid:gid owner
 ;username=user              ; default is no username (open server)
@@ -25,11 +25,11 @@
 ;password=123               ; default is no password (open server)
 
 [supervisord]
-logfile=/tmp/supervisord.log ; main log file; default $CWD/supervisord.log
+logfile=${VARBASE}/log/supervisord.log ; main log file; default $CWD/supervisord.log
 logfile_maxbytes=50MB        ; max main logfile bytes b4 rotation; default 50MB
 logfile_backups=10           ; # of main logfile backups; 0 means none, default 10
 loglevel=info                ; log level; default info; others: debug,warn,trace
-pidfile=/tmp/supervisord.pid ; supervisord pidfile; default supervisord.pid
+pidfile=${VARBASE}/run/supervisor/supervisord.pid ; supervisord pidfile; default supervisord.pid
 nodaemon=false               ; start in foreground if true; default false
 minfds=1024                  ; min. avail startup file descriptors; default 1024
 minprocs=200                 ; min. avail process descriptors;default 200
@@ -54,7 +54,7 @@
 ; or inet_http_server section.
 
 [supervisorctl]
-serverurl=unix:///tmp/supervisor.sock ; use a unix:// URL  for a unix socket
+serverurl=unix://${VARBASE}/run/supervisor/supervisor.sock ; use a unix:// URL  for a unix socket
 ;serverurl=http://127.0.0.1:9001 ; use an http:// url to specify an inet socket
 ;username=chris              ; should be same as in [*_http_server] if set
 ;password=123                ; should be same as in [*_http_server] if set
@@ -73,7 +73,7 @@
 ;umask=022                     ; umask for process (default None)
 ;priority=999                  ; the relative start priority (default 999)
 ;autostart=true                ; start at supervisord start (default: true)
-;startsecs=1                   ; # of secs prog must stay up to be running (def. 1)
+;startsecs=10                  ; # of secs prog must stay up to be running (def. 1)
 ;startretries=3                ; max # of serial start failures when starting (default 3)
 ;autorestart=unexpected        ; when to restart if exited after running (def: unexpected)
 ;exitcodes=0,2                 ; 'expected' exit codes used with autorestart (default 0,2)
@@ -93,7 +93,7 @@
 ;stderr_logfile_backups=10     ; # of stderr logfile backups (0 means none, default 10)
 ;stderr_capture_maxbytes=1MB   ; number of bytes in 'capturemode' (default 0)
 ;stderr_events_enabled=false   ; emit events on stderr writes (default false)
-;environment=A="1",B="2"       ; process environment additions (def no adds)
+;environment=A=1,B=2           ; process environment additions (def no adds)
 ;serverurl=AUTO                ; override serverurl computation (childutils)
 
 ; The sample eventlistener section below shows all possible eventlistener
@@ -110,7 +110,7 @@
 ;umask=022                     ; umask for process (default None)
 ;priority=-1                   ; the relative start priority (default -1)
 ;autostart=true                ; start at supervisord start (default: true)
-;startsecs=1                   ; # of secs prog must stay up to be running (def. 1)
+;startsecs=10                  ; # of secs prog must stay up to be running (def. 1)
 ;startretries=3                ; max # of serial start failures when starting (default 3)
 ;autorestart=unexpected        ; autorestart if exited after running (def: unexpected)
 ;exitcodes=0,2                 ; 'expected' exit codes used with autorestart (default 0,2)
@@ -128,7 +128,7 @@
 ;stderr_logfile_maxbytes=1MB   ; max # logfile bytes b4 rotation (default 50MB)
 ;stderr_logfile_backups=10     ; # of stderr logfile backups (0 means none, default 10)
 ;stderr_events_enabled=false   ; emit events on stderr writes (default false)
-;environment=A="1",B="2"       ; process environment additions
+;environment=A=1,B=2           ; process environment additions
 ;serverurl=AUTO                ; override serverurl computation (childutils)
 
 ; The sample group section below shows all possible group values.  Create one
@@ -145,4 +145,4 @@
 ; include files themselves.
 
 ;[include]
-;files = relative/directory/*.ini
+;files = supervisord.d/*.ini
